draws = (+) 1

main = do
    c <- getContents
    let ns = map draws $ map read $ tail $ lines c
    putStr $ unlines $ map show ns
        